package lab02.test30;

import java.util.Scanner;

/**
 * Created by lenovo on 2017/11/20.
 */
public class Test {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("学生姓名：");
        System.out.println("Java成绩：");
        System.out.println("概率论成绩：");
        System.out.println("数据库成绩：");
        System.out.println("英语成绩：");
        String a=scanner.nextLine();
        double b=scanner.nextDouble();
        double c=scanner.nextDouble();
        double d=scanner.nextDouble();
        double e=scanner.nextDouble();
        System.out.println("平均分为"+(b+c+d+e)/4);
    }
}
